Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 8 - Tag Objects / Using Tag Objects


Attaching Tags to a QuickDraw GX Object

Most QuickDraw GX objects (other than tag objects themselves) can have one or more attached tag objects. Each object has a property called a tag list, which is an array of references to tag objects. You can retrieve and assign tag references with QuickDraw GX functions. For example, to retrieve one or more of the tags attached to a shape object, you call the GXGetShapeTags function. To add one or more tags to a shape object's tag list, you call the GXSetShapeTags function.

Besides tag objects, other objects that you cannot directly attach tags to include printing objects, font objects, and graphics client objects.

The GXGetShapeTags and GXSetShapeTags functions are described in the chapter "Shape Objects" in this book; the equivalent calls for other kinds of objects are described in the chapters that document those objects.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help